home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
xmenu.z
/
xmenu
/
man
/
catn
/
xmenu.n
Wrap
Text File
|
1994-09-27
|
1KB
|
67 lines
XMENU(l) MISC. REFERENCE MANUAL PAGES 19 June 1990
NAME
xmenu - provide simple popup menus to shell scripts
SYNOPSIS
xmenu [-heading "menu title"] [menu_entry[=output_value] |
line]...
DESCRIPTION
_x_m_e_n_u provides a quick and easy way of producing a single
popup menu for use by shell scripts. The -_h_e_a_d_i_n_g is used
to set the menu's title, all other arguments are used as
items in the menu. If an argument contains an equals sign
then the string to the left of the equals is used as the
displayed menu item and the the string to the right is used
as the text output when the item is pressed. The argument
"line" is recognised as denoting a line separating menu
items.
By default the menu is popped up to the right and below of
the current pointer position but this can be overridden
using the standard toolkit "-geometry".
EXAMPLES
xmenu -heading "Choose Files by Suffix" Compressed="*.Z" \
"C sources"="*.c" "Headers"="*.h" \
line line " Cancel"
xmenu Hello="Hello World" line " " " " line Goodbye="Goodbye
World"
AUTHOR
Richard Hesketh, University of Kent at Canterbury, June 1990
@nsfnet-relay.ac.uk:rlh2@ukc.ac.uk
ReadyPak 1